package com.itheima;

import com.itheima.mpermission.config.RsaKeyProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("com.itheima.mpermission.mapper")
@EnableConfigurationProperties(RsaKeyProperties.class)
public class MPermissionApplication {
    public static void main(String[] args) {
        SpringApplication.run(MPermissionApplication.class, args);
    }
}
